package com.yingpai.fitness.entity.food;

import com.yingpai.fitness.dvp_2_0.main.activity.fitness.DietCollocationActivity;
import com.yingpai.fitness.adpter.food.DieCollocationParentRecyclerAdapter;

import java.util.List;

/**
 * Created by Administrator on 2018/4/25.
 *
 * {@link DietCollocationActivity}
 * {@link DieCollocationParentRecyclerAdapter}
 */

public class DieCollocationBean {


    /**
     * result : success
     * msg : 请求成功
     * map : {"detailListWithPage":{"pageNum":1,"pageSize":4,"size":2,"startRow":1,"endRow":2,"total":2,"pages":1,"list":[{"id":4,"dietId":1,"dietName":"训练前后营养餐","dietDetailName":"快煮燕麦粥","energy":"316kcal","photoUrl":"http://192.168.3.254:8096/img/diet/20180510/7ee05c18-7bc9-472f-a83b-71d8e6250cc8t016007d62f4087834f.jpg","properties":"早餐组合","isAbandoned":true,"createTime":"2018-05-10 15:44","dicDietCategoryId":1,"dicDietCategoryName":"早餐","isRecommended":true,"commonPrice":1200,"memberPrice":1000,"content":null},{"id":5,"dietId":1,"dietName":"训练前后营养餐","dietDetailName":"红烩牛肉饭套餐","energy":"633kcal","photoUrl":"http://192.168.3.254:8096/img/diet/20180514/711e9663-279b-4ae0-b5c1-69a540008abet0152880a323405cec3.jpg","properties":"高蛋白","isAbandoned":true,"createTime":"2018-05-14 09:33","dicDietCategoryId":2,"dicDietCategoryName":"中餐","isRecommended":true,"commonPrice":2200,"memberPrice":2000,"content":null}],"prePage":0,"nextPage":0,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1],"navigateFirstPage":1,"navigateLastPage":1,"firstPage":1,"lastPage":1}}
     */

    private String result;
    private String msg;
    private MapData map;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public MapData getMap() {
        return map;
    }

    public void setMap(MapData map) {
        this.map = map;
    }

    public static class MapData {
        /**
         * detailListWithPage : {"pageNum":1,"pageSize":4,"size":2,"startRow":1,"endRow":2,"total":2,"pages":1,"list":[{"id":4,"dietId":1,"dietName":"训练前后营养餐","dietDetailName":"快煮燕麦粥","energy":"316kcal","photoUrl":"http://192.168.3.254:8096/img/diet/20180510/7ee05c18-7bc9-472f-a83b-71d8e6250cc8t016007d62f4087834f.jpg","properties":"早餐组合","isAbandoned":true,"createTime":"2018-05-10 15:44","dicDietCategoryId":1,"dicDietCategoryName":"早餐","isRecommended":true,"commonPrice":1200,"memberPrice":1000,"content":null},{"id":5,"dietId":1,"dietName":"训练前后营养餐","dietDetailName":"红烩牛肉饭套餐","energy":"633kcal","photoUrl":"http://192.168.3.254:8096/img/diet/20180514/711e9663-279b-4ae0-b5c1-69a540008abet0152880a323405cec3.jpg","properties":"高蛋白","isAbandoned":true,"createTime":"2018-05-14 09:33","dicDietCategoryId":2,"dicDietCategoryName":"中餐","isRecommended":true,"commonPrice":2200,"memberPrice":2000,"content":null}],"prePage":0,"nextPage":0,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1],"navigateFirstPage":1,"navigateLastPage":1,"firstPage":1,"lastPage":1}
         */

        private DetailListWithPageData detailListWithPage;

        public DetailListWithPageData getDetailListWithPage() {
            return detailListWithPage;
        }

        public void setDetailListWithPage(DetailListWithPageData detailListWithPage) {
            this.detailListWithPage = detailListWithPage;
        }

        public static class DetailListWithPageData {
            /**
             * pageNum : 1
             * pageSize : 4
             * size : 2
             * startRow : 1
             * endRow : 2
             * total : 2
             * pages : 1
             * list : [{"id":4,"dietId":1,"dietName":"训练前后营养餐","dietDetailName":"快煮燕麦粥","energy":"316kcal","photoUrl":"http://192.168.3.254:8096/img/diet/20180510/7ee05c18-7bc9-472f-a83b-71d8e6250cc8t016007d62f4087834f.jpg","properties":"早餐组合","isAbandoned":true,"createTime":"2018-05-10 15:44","dicDietCategoryId":1,"dicDietCategoryName":"早餐","isRecommended":true,"commonPrice":1200,"memberPrice":1000,"content":null},{"id":5,"dietId":1,"dietName":"训练前后营养餐","dietDetailName":"红烩牛肉饭套餐","energy":"633kcal","photoUrl":"http://192.168.3.254:8096/img/diet/20180514/711e9663-279b-4ae0-b5c1-69a540008abet0152880a323405cec3.jpg","properties":"高蛋白","isAbandoned":true,"createTime":"2018-05-14 09:33","dicDietCategoryId":2,"dicDietCategoryName":"中餐","isRecommended":true,"commonPrice":2200,"memberPrice":2000,"content":null}]
             * prePage : 0
             * nextPage : 0
             * isFirstPage : true
             * isLastPage : true
             * hasPreviousPage : false
             * hasNextPage : false
             * navigatePages : 8
             * navigatepageNums : [1]
             * navigateFirstPage : 1
             * navigateLastPage : 1
             * firstPage : 1
             * lastPage : 1
             */

            private int pageNum;
            private int pageSize;
            private int size;
            private int startRow;
            private int endRow;
            private int total;
            private int pages;
            private int prePage;
            private int nextPage;
            private boolean isFirstPage;
            private boolean isLastPage;
            private boolean hasPreviousPage;
            private boolean hasNextPage;
            private int navigatePages;
            private int navigateFirstPage;
            private int navigateLastPage;
            private int firstPage;
            private int lastPage;
            private List<ListData> list;
            private List<Integer> navigatepageNums;

            public int getPageNum() {
                return pageNum;
            }

            public void setPageNum(int pageNum) {
                this.pageNum = pageNum;
            }

            public int getPageSize() {
                return pageSize;
            }

            public void setPageSize(int pageSize) {
                this.pageSize = pageSize;
            }

            public int getSize() {
                return size;
            }

            public void setSize(int size) {
                this.size = size;
            }

            public int getStartRow() {
                return startRow;
            }

            public void setStartRow(int startRow) {
                this.startRow = startRow;
            }

            public int getEndRow() {
                return endRow;
            }

            public void setEndRow(int endRow) {
                this.endRow = endRow;
            }

            public int getTotal() {
                return total;
            }

            public void setTotal(int total) {
                this.total = total;
            }

            public int getPages() {
                return pages;
            }

            public void setPages(int pages) {
                this.pages = pages;
            }

            public int getPrePage() {
                return prePage;
            }

            public void setPrePage(int prePage) {
                this.prePage = prePage;
            }

            public int getNextPage() {
                return nextPage;
            }

            public void setNextPage(int nextPage) {
                this.nextPage = nextPage;
            }

            public boolean isIsFirstPage() {
                return isFirstPage;
            }

            public void setIsFirstPage(boolean isFirstPage) {
                this.isFirstPage = isFirstPage;
            }

            public boolean isIsLastPage() {
                return isLastPage;
            }

            public void setIsLastPage(boolean isLastPage) {
                this.isLastPage = isLastPage;
            }

            public boolean isHasPreviousPage() {
                return hasPreviousPage;
            }

            public void setHasPreviousPage(boolean hasPreviousPage) {
                this.hasPreviousPage = hasPreviousPage;
            }

            public boolean isHasNextPage() {
                return hasNextPage;
            }

            public void setHasNextPage(boolean hasNextPage) {
                this.hasNextPage = hasNextPage;
            }

            public int getNavigatePages() {
                return navigatePages;
            }

            public void setNavigatePages(int navigatePages) {
                this.navigatePages = navigatePages;
            }

            public int getNavigateFirstPage() {
                return navigateFirstPage;
            }

            public void setNavigateFirstPage(int navigateFirstPage) {
                this.navigateFirstPage = navigateFirstPage;
            }

            public int getNavigateLastPage() {
                return navigateLastPage;
            }

            public void setNavigateLastPage(int navigateLastPage) {
                this.navigateLastPage = navigateLastPage;
            }

            public int getFirstPage() {
                return firstPage;
            }

            public void setFirstPage(int firstPage) {
                this.firstPage = firstPage;
            }

            public int getLastPage() {
                return lastPage;
            }

            public void setLastPage(int lastPage) {
                this.lastPage = lastPage;
            }

            public List<ListData> getList() {
                return list;
            }

            public void setList(List<ListData> list) {
                this.list = list;
            }

            public List<Integer> getNavigatepageNums() {
                return navigatepageNums;
            }

            public void setNavigatepageNums(List<Integer> navigatepageNums) {
                this.navigatepageNums = navigatepageNums;
            }

            public static class ListData {
                /**
                 * id : 4
                 * dietId : 1
                 * dietName : 训练前后营养餐
                 * dietDetailName : 快煮燕麦粥
                 * energy : 316kcal
                 * photoUrl : http://192.168.3.254:8096/img/diet/20180510/7ee05c18-7bc9-472f-a83b-71d8e6250cc8t016007d62f4087834f.jpg
                 * properties : 早餐组合
                 * isAbandoned : true
                 * createTime : 2018-05-10 15:44
                 * dicDietCategoryId : 1
                 * dicDietCategoryName : 早餐
                 * isRecommended : true
                 * commonPrice : 1200
                 * memberPrice : 1000
                 * content : null
                 */

                private int id;
                private int dietId;
                private String dietName;
                private String dietDetailName;
                private String energy;
                private String photoUrl;
                private String properties;
                private boolean isAbandoned;
                private String createTime;
                private int dicDietCategoryId;
                private String dicDietCategoryName;
                private boolean isRecommended;
                private int commonPrice;
                private int memberPrice;
                private Object content;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getDietId() {
                    return dietId;
                }

                public void setDietId(int dietId) {
                    this.dietId = dietId;
                }

                public String getDietName() {
                    return dietName;
                }

                public void setDietName(String dietName) {
                    this.dietName = dietName;
                }

                public String getDietDetailName() {
                    return dietDetailName;
                }

                public void setDietDetailName(String dietDetailName) {
                    this.dietDetailName = dietDetailName;
                }

                public String getEnergy() {
                    return energy;
                }

                public void setEnergy(String energy) {
                    this.energy = energy;
                }

                public String getPhotoUrl() {
                    return photoUrl;
                }

                public void setPhotoUrl(String photoUrl) {
                    this.photoUrl = photoUrl;
                }

                public String getProperties() {
                    return properties;
                }

                public void setProperties(String properties) {
                    this.properties = properties;
                }

                public boolean isIsAbandoned() {
                    return isAbandoned;
                }

                public void setIsAbandoned(boolean isAbandoned) {
                    this.isAbandoned = isAbandoned;
                }

                public String getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(String createTime) {
                    this.createTime = createTime;
                }

                public int getDicDietCategoryId() {
                    return dicDietCategoryId;
                }

                public void setDicDietCategoryId(int dicDietCategoryId) {
                    this.dicDietCategoryId = dicDietCategoryId;
                }

                public String getDicDietCategoryName() {
                    return dicDietCategoryName;
                }

                public void setDicDietCategoryName(String dicDietCategoryName) {
                    this.dicDietCategoryName = dicDietCategoryName;
                }

                public boolean isIsRecommended() {
                    return isRecommended;
                }

                public void setIsRecommended(boolean isRecommended) {
                    this.isRecommended = isRecommended;
                }

                public int getCommonPrice() {
                    return commonPrice;
                }

                public void setCommonPrice(int commonPrice) {
                    this.commonPrice = commonPrice;
                }

                public int getMemberPrice() {
                    return memberPrice;
                }

                public void setMemberPrice(int memberPrice) {
                    this.memberPrice = memberPrice;
                }

                public Object getContent() {
                    return content;
                }

                public void setContent(Object content) {
                    this.content = content;
                }
            }
        }
    }
}
